package com.wanxi.repertory.service.mapper;

import com.wanxi.repertory.service.api.dto.RepertoryUserDto;
import com.wanxi.repertory.service.api.entity.RepertoryUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:wgy
 * @Data：2022/1/18 14:31
 */
@Mapper
public interface RepertoryUserMapper {
    List<RepertoryUser> findRepertory(@Param("shopId") Long shopId);

    int updateTotalBySkuId(RepertoryUserDto repertoryUserDto);

    int updateBatch(List<RepertoryUserDto> list);

    Long findRepertoryBySkuId(@Param("shopId") Long shopId);

}
